package com.gym.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user_info")
public class UserInfo {
    @TableId(value = "user_id",type = IdType.AUTO)
    private Integer userId;
    @TableField("user_img")
    private String userImg;
    @TableField("user_name")
    private String userName;
    @TableField("password")
    private String passWord;
    @TableField("user_sex")
    private String userSex;
    @TableField("user_phone")
    private String userPhone;
    @TableField("user_email")
    private String userEmail;
    @TableField("user_age")
    private String userAge;
    @TableField("user_blance")
    private Double userBlance;
}
